.anchor-link {

  visibility: hidden;

  text-decoration: none;

  margin-left: 0.5em; /* Optional: Adjust spacing */

}


h1:hover .anchor-link,

h2:hover .anchor-link,

h3:hover .anchor-link,

h4:hover .anchor-link,

h5:hover .anchor-link,

h6:hover .anchor-link {

  visibility: visible;

}